<?php
namespace model;

class applinks
{
	const TABLE = "applink";

	private static function db($table = null)
	{
		return \libs\db::Init($table);
	}
   //查询应用链接列表
	public static function AppLinkList($limit)
	{
		$where['status'] = 1;
		return self::db(self::TABLE)->Limit($limit)->cache(2864000)->where($where)->order('sort ASC')->Select();
	}

}
